Set frame, not bounds when resizing to be consistent and to avoid
authorRichard Hult <richard@imendio.com>
Thu, 14 Feb 2008 21:34:54 +0000 (21:34 +0000)
committerRichard Hult <rhult@src.gnome.org>
Thu, 14 Feb 2008 21:34:54 +0000 (21:34 +0000)
2008-02-14  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
resizing to be consistent and to avoid introducing an internal
transform in the view.

svn path=/trunk/; revision=19566

ChangeLog
gdk/quartz/GdkQuartzWindow.c

index 5955b0f17c25ea8abc8b543eee2a3f0b44330834..7c2f5afddda651eb6c61b1b63b2cadeb747813f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-14  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
+       resizing to be consistent and to avoid introducing an internal
+       transform in the view.
+
 2008-02-14  Richard Hult  <richard@imendio.com>
 
        * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
index d1ecbfdfa9a27af2cc6a1db0afd95caa327810df..e8aca4c2981111343c3b0e33fcb0550c5d40032a 100644 (file)
   impl->width = content_rect.size.width;
   impl->height = content_rect.size.height;
 
-  [[self contentView] setBounds:NSMakeRect (0, 0, impl->width, impl->height)];
+  [[self contentView] setFrame:NSMakeRect (0, 0, impl->width, impl->height)];
 
   /* Synthesize a configure event */
   event = gdk_event_new (GDK_CONFIGURE);